<?php

class Soul_Template_Html_Toolbar extends Soul_Template_Html_Container {
	
    public function __construct() {
        $this->addClass('toolbar');
    }

    public function renderBegin(){
        return '<div'.$this->getAttributeHtml().'><ul>';    	
    }
    
    public function renderItem($el, $class = ''){
    	return '<li class="item'.(empty($class)? '': ' '.$class).'">' . $el .'</li>';
    }    
    
    public function renderEnd(){
    	return '</ul><div style="float:none;clear:both"></div></div>';
    }
    
    public function renderChildren(){
        return '';
    }
}